"""
@author: liujun
@file: liujun.py
@time: 2022/11/24 18:10
"""
import random
import string
def random_num(N):
    for i in range(int(N)):
        nums = ''.join(random.sample(string.ascii_uppercase+ string.digits,32))
        print(nums)
        with open("激活码.txt","a") as fp:
            fp.write('\n'+nums)